package com.zkr.subclass.conterllor;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by lenovo on 2021/01/21.
 */
@Controller
public class TestController {

    @RequestMapping("test")
    public String test(Model model){
        model.addAttribute("hello","hello git 码云");
        System.out.println("hello 码云");
        return "login";
    }
}
